#ifndef __ISERVICE_H__
#define __ISERVICE_H__
class String;
/**
* Such object is able to receive messages and clock ticks
*/
class IService{
public:
	virtual void onMessage(const String& msg) = 0;
	virtual void tick(long milliseconds) = 0;
	virtual const char* getName() const = 0;
	virtual bool isInfrastructure() const = 0;
	virtual ~IService(){}
};
#endif
